package com.ruoyi.rsikManage.service.Impl;

import com.ruoyi.rsikManage.domain.VideoDiagnosisDic;
import com.ruoyi.rsikManage.mapper.VideoDiagnosisDicMapper;
import com.ruoyi.rsikManage.service.VideoDiagnosisDicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoDiagnosisDicServiceImpl implements VideoDiagnosisDicService {
    @Autowired
    VideoDiagnosisDicMapper videoDiagnosisDicMapper;
    @Override
    public List<VideoDiagnosisDic> selectVideoDiagnosisDic(VideoDiagnosisDic videoDiagnosisDic) {
        return videoDiagnosisDicMapper.selectVideoDiagnosisDic(videoDiagnosisDic);
    }

    @Override
    public VideoDiagnosisDic selectVideoDiagnosisDicById(Integer id) {
        return videoDiagnosisDicMapper.selectVideoDiagnosisDicById(id);
    }

    @Override
    public int insertVideoDiagnosisDic(VideoDiagnosisDic videoDiagnosisDic) {
        return videoDiagnosisDicMapper.insertVideoDiagnosisDic(videoDiagnosisDic);
    }

    @Override
    public int updateVideoDiagnosisDicById(VideoDiagnosisDic VideoDiagnosisDic) {
        return videoDiagnosisDicMapper.updateVideoDiagnosisDicById(VideoDiagnosisDic);
    }

    @Override
    public int deleteVideoDiagnosisDicById(Integer id) {
        return videoDiagnosisDicMapper.deleteVideoDiagnosisDicById(id);
    }

    @Override
    public int deleteVideoDiagnosisDicByIds(Integer[] ids) {
        return videoDiagnosisDicMapper.deleteVideoDiagnosisDicByIds(ids);
    }
}
